package com.bdqn.service;

import com.bdqn.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierService {
    public List<Supplier> getListSupplier(@Param("page") Integer page, @Param("limit") Integer limit);

    Integer count(@Param("supplierId") String supplierId, @Param("name") String name);

    public List<Supplier> getListSupplierInfo(@Param("page") Integer page, @Param("limit") Integer limit, @Param("supplierId") String supplierId, @Param("name") String name, @Param("startDate") String startDate, @Param("endDate") String endDate);

    Integer addData(@Param("supplierId") String supplierId, @Param("supplierName") String supplierName);

    int deletetSuppLierMapper(@Param("id") int id);

    Integer updateData(Supplier supplier);

    List<Supplier> getSupplier();
}
